<{include file="class_header.tpl"}>
<div class="dreamstart">
<script type="text/javascript">/*960*90，创建于2012-3-25*/ var cpro_id = 'u821947';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div class="content">
	<div class="clefti">
      <div class="new"><h1 id='class_title'>社会科学</h1></div>
        <div class="newlist">
        <li style="background:#f1f1f1;">
        <a href="">图书名称</a>
	        <span class="zuozhe">作者</span>
	        <span class="daxiao">图书大小</span>
	        <span class="shijian">上线时间</span>
        </li>
        <{section loop=$top_uploads->recordlist name="ls"}>
        <li>
            <a href="/book/<{$top_uploads->recordlist[ls].book_id}>.html"><{$top_uploads->recordlist[ls].book_name}></a>
            <span class="zuozhe"><{$top_uploads->recordlist[ls].author}></span>
            <span class="daxiao">
               <{$top_uploads->recordlist[ls].book_size/1024|string_format:'%.2f'}>KB 
            </span>
            <span class="shijian">
                <{$top_uploads->recordlist[ls].ctime|date_format:"%Y-%m-%d"}>
            </span>
        </li>
        <{/section}>
        </div>    
        
        <input type='hidden' id='hidCid' value='<{$cid}>'>
        <div class="listfanye"> 
        
        <a class="next" href="/class/<{$cid}>_index_<{$top_uploads->prevpage}>.html">上一页</a>
        <{section loop=$top_uploads->pagebarindexes name="ii"}>
        <{if $top_uploads->pagebarindexes[ii] eq $top_uploads->pageno}>
        <span><{$top_uploads->pageno}></span>
        <{else}>
        <a href="/class/<{$cid}>_index_<{$top_uploads->pagebarindexes[ii]}>.html"><{$top_uploads->pagebarindexes[ii]}></a>
        <{/if}>
        <{/section}>
        <a class="next" href="/class/<{$cid}>_index_<{$top_uploads->nextpage}>.html">下一页</a>        
        </div>  
    </div>
    <div class="cright">
    	<div class="ctjlisti">
        	<span class="ctjlisti1">下载排行榜</span>
            <{section loop=$top_downloads name="ls"}>
            <a href="/book/<{$top_downloads[ls].book_id}>.html"><{$top_downloads[ls].book_name}></a>
            <{/section}>
        </div>
        
        <div class="ctjlisti">
        	<span class="ctjlisti1">点击排行榜</span>
            <{section loop=$top_clicked name="ls"}>
            <a href="/book/<{$top_clicked[ls].book_id}>.html"><{$top_clicked[ls].book_name}></a>
            <{/section}>
        </div>
        
        <div class="ctjlisti">
        	<span class="ctjlisti1">评论排行榜</span>
            <{section loop=$top_comment name="ls"}>
            <a href="/book/<{$top_comment[ls].book_id}>.html"><{$top_comment[ls].book_name}></a>
            <{/section}>
        </div>
    </div>
</div>
<script>
$(function(){
    var cid = $('#hidCid').val();
    var cname = $("#global_nav ul li a[cid='"+cid+"']").text();
    $('#class_title').text(cname);
});
</script>
<{include file="footer.tpl"}>
